// import { shallowReactive } from "vue";

// let comps = {};
// const modules = import.meta.glob("./*.vue", {
//   import: 'default',
//   eager: true,
// });
// for (const path in modules) {
//   console.log(modules[path], 'modules3')
//   console.log(modules[path].default, 'modules4')
//   let cname = modules[path]?.default.name;
//   comps[cname] = modules[path]?.default;
// }

// export default shallowReactive(comps);

import { shallowReactive } from 'vue';
let comps = {}
const modules = import.meta.globEager('./*.vue')
for (const path in modules) {
  let cname = modules[path].default.__name
  comps[cname] = modules[path].default
}

export default shallowReactive(comps)
